﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Catalog.API.Model
{
    public class ResidentialAreas
    {
        public int Id { get; private set; }
        /// <summary>
        /// 小区代码
        /// </summary>
        public string ResidentialAreasCode { get; private set; }
        /// <summary>
        /// 小区名字
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 代理人ID
        /// </summary>
        public string AgentManId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; private set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public string CreateUserId { get; private set; }
        /// <summary>
        /// 修改人Id
        /// </summary>
        public string ModifyUserId { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? ModifyTime { get; set; }
        public ResidentialAreas(string name,string agentManId,string createUserId)
        {
            this.Name = name;
            this.AgentManId = agentManId;
            this.CreateUserId = createUserId;
            this.CreateTime = DateTime.Now;
        }
    }
}
